package com.sikao.app.bean;

import java.util.List;

/**
 * Created by Sun on 2016/8/4.
 * 获得发布商品时的参数项
 */
public class AddGoodsParamBean {

    /**
     * status : 1
     * msg : 成功返回数据!
     * res : {"addFrom":[{"id":0,"value":"发布"},{"id":1,"value":"拍卖"},{"id":2,"value":"招标"}],"addTo":[{"id":0,"value":"商城"},{"id":1,"value":"拍卖"},{"id":2,"value":"定向单"}],"isPorted":[{"id":0,"value":"否"},{"id":1,"value":"是"}],"payType":[{"id":1,"value":"全款"},{"id":2,"value":"分期"},{"id":3,"value":"货到付款"}],"publishType":[{"id":1,"value":"仓单挂单"},{"id":2,"value":"保证金挂单"},{"id":3,"value":"信誉挂单"}],"deliveryType":[{"id":1,"value":"买家自提"},{"id":2,"value":"送货上门"}],"payMethod":[{"id":0,"value":"余额"},{"id":1,"value":"现金"},{"id":2,"value":"支票"},{"id":3,"value":"转帐"}],"invitePublishType":[{"id":2,"value":"保证金挂单"},{"id":3,"value":"信誉挂单"}]}
     */

    private int status;
    private String msg;
    private ResBean res;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public ResBean getRes() {
        return res;
    }

    public void setRes(ResBean res) {
        this.res = res;
    }

    public static class ResBean {
        /**
         * id : 0
         * value : 发布
         */

        private List<AddFromBean> addFrom;
        /**
         * id : 0
         * value : 商城
         */

        private List<AddToBean> addTo;
        /**
         * id : 0
         * value : 否
         */

        private List<IsPortedBean> isPorted;
        /**
         * id : 1
         * value : 全款
         */

        private List<PayTypeBean> payType;
        /**
         * id : 1
         * value : 仓单挂单
         */

        private List<PublishTypeBean> publishType;
        /**
         * id : 1
         * value : 买家自提
         */

        private List<DeliveryTypeBean> deliveryType;
        /**
         * id : 0
         * value : 余额
         */

        private List<PayMethodBean> payMethod;
        /**
         * id : 2
         * value : 保证金挂单
         */

        private List<InvitePublishTypeBean> invitePublishType;

        public List<AddFromBean> getAddFrom() {
            return addFrom;
        }

        public void setAddFrom(List<AddFromBean> addFrom) {
            this.addFrom = addFrom;
        }

        public List<AddToBean> getAddTo() {
            return addTo;
        }

        public void setAddTo(List<AddToBean> addTo) {
            this.addTo = addTo;
        }

        public List<IsPortedBean> getIsPorted() {
            return isPorted;
        }

        public void setIsPorted(List<IsPortedBean> isPorted) {
            this.isPorted = isPorted;
        }

        public List<PayTypeBean> getPayType() {
            return payType;
        }

        public void setPayType(List<PayTypeBean> payType) {
            this.payType = payType;
        }

        public List<PublishTypeBean> getPublishType() {
            return publishType;
        }

        public void setPublishType(List<PublishTypeBean> publishType) {
            this.publishType = publishType;
        }

        public List<DeliveryTypeBean> getDeliveryType() {
            return deliveryType;
        }

        public void setDeliveryType(List<DeliveryTypeBean> deliveryType) {
            this.deliveryType = deliveryType;
        }

        public List<PayMethodBean> getPayMethod() {
            return payMethod;
        }

        public void setPayMethod(List<PayMethodBean> payMethod) {
            this.payMethod = payMethod;
        }

        public List<InvitePublishTypeBean> getInvitePublishType() {
            return invitePublishType;
        }

        public void setInvitePublishType(List<InvitePublishTypeBean> invitePublishType) {
            this.invitePublishType = invitePublishType;
        }

        public static class AddFromBean {
            private int id;
            private String value;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getValue() {
                return value;
            }

            public void setValue(String value) {
                this.value = value;
            }
        }

        public static class AddToBean {
            private int id;
            private String value;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getValue() {
                return value;
            }

            public void setValue(String value) {
                this.value = value;
            }
        }

        public static class IsPortedBean {
            private int id;
            private String value;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getValue() {
                return value;
            }

            public void setValue(String value) {
                this.value = value;
            }
        }

        public static class PayTypeBean {
            private int id;
            private String value;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getValue() {
                return value;
            }

            public void setValue(String value) {
                this.value = value;
            }
        }

        public static class PublishTypeBean {
            private int id;
            private String value;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getValue() {
                return value;
            }

            public void setValue(String value) {
                this.value = value;
            }
        }

        public static class DeliveryTypeBean {
            private int id;
            private String value;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getValue() {
                return value;
            }

            public void setValue(String value) {
                this.value = value;
            }
        }

        public static class PayMethodBean {
            private int id;
            private String value;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getValue() {
                return value;
            }

            public void setValue(String value) {
                this.value = value;
            }
        }

        public static class InvitePublishTypeBean {
            private int id;
            private String value;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getValue() {
                return value;
            }

            public void setValue(String value) {
                this.value = value;
            }
        }
    }
}
